<template>
  <div class="mod-home">
    <h3>欢迎使用{{business}}</h3>


  </div>
</template>

<script>
  export default {
    data () {
      return {
        business: '小明星育学助教平台'
      }
    },
    created () {
      this.getDataList()
    },
    methods: {
      // 获取数据列表
      getDataList () {
        this.dataListLoading = true
        var query = this.$route.query
        var bid = query.bid
        if (bid) {
          this.$http({
            url: this.$http.adornUrl('/business/business/info/' + bid),
            method: 'get',
            params: this.$http.adornParams({})
          }).then(({data}) => {
            if (data.code === 0) {
              this.business = data.business.business
            }
          })
        }
      }
    }
  }
</script>

<style>
  .mod-home {
    line-height: 1.5;
  }
</style>
